//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this sample source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the LICENSE.RTF on your install media or the root of your tools installation.
// THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES OR INDEMNITIES.
//
//
// (C) Copyright 2006 Marvell International Ltd.
// All Rights Reserved
//
/******************************************************************************
**
**  COPYRIGHT (C) 2005, 2006 Intel Corporation.
**
**  This software as well as the software described in it is furnished under
**  license and may only be used or copied in accordance with the terms of the
**  license. The information in this file is furnished for informational use
**  only, is subject to change without notice, and should not be construed as
**  a commitment by Intel Corporation. Intel Corporation assumes no
**  responsibility or liability for any errors or inaccuracies that may appear
**  in this document or any software that may be provided in association with
**  this document. 
**  Except as permitted by such license, no part of this document may be 
**  reproduced, stored in a retrieval system, or transmitted in any form or by
**  any means without the express written consent of Intel Corporation. 
**
**  FILENAME:       1-wire.h
**
**  PURPOSE: 	1-wire engine for Monahans Processor
**                  
******************************************************************************/
#ifndef _ONE_WIRE_MP_H_
#define _ONE_WIRE_MP_H_

//generic io control value
#define IOCTL_ONE_WIRE_READ_BYTE 	0
#define IOCTL_ONE_WIRE_READ_WORD 	1
#define IOCTL_ONE_WIRE_WRITE_BYTE 	2
#define IOCTL_ONE_WIRE_WRITE_WORD 	3
#define IOCTL_ONE_WIRE_COPY 		4
#define IOCTL_ONE_WIRE_RECALL 		5
#define IOCTL_ONE_WIRE_LOCK 		6
#define IOCTL_ONE_WIRE_SELECT 		7
#define IOCTL_ONE_WIRE_RESET		8
#define IOCTL_ONE_WIRE_BUS_LOW     9
#define IOCTL_ONE_WIRE_BUS_HIGH    0xA

#define IOCTL_ONE_WIRE_TEST             0xB

#endif


